﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MyGrid.Core.Extensions
{
    public static class FixFloatExtension
    {
        public static fixfloat ToFixFloat(this float number)
        {
            return fixfloat.Parse(number.ToString());
        }

        public static fixfloat ToFixFloat(this double number)
        {
            return fixfloat.Parse(number.ToString());
        }

        public static fixfloat ToFixFloat(this string numberText)
        {
            return fixfloat.Parse(numberText);
        }

    }
}
